import request from '@/util/request'

export function getExplain(data) {
  return request({
    url: '/iot/device/explain/get',
    method: 'post',
    data
  })
}

export function updateExplain(data) {
  return request({
    url: '/iot/device/explain/update',
    method: 'post',
    data
  })
}
export function updateExplainList(data) {
  return request({
    url: '/iot/device/explain/updateList',
    method: 'post',
    data
  })
}
export function insertExplain(data) {
  return request({
    url: '/iot/device/explain/insert',
    method: 'post',
    data
  })
}

export function listExplain(data) {
  return request({
    url: '/iot/device/explain/list',
    method: 'post',
    data
  })
}

export function deleteExplain(data) {
  return request({
    url: '/iot/device/explain/delete',
    method: 'post',
    data
  })
}

export function deleteExplainList(data) {
  return request({
    url: '/iot/device/explain/deleteList',
    method: 'post',
    data
  })
}

export function insertOrUpdateEval(data) {
  return request({
    url: '/iot/device/explain/eval/insertOrUpdate',
    method: 'post',
    data
  })
}
export function listEvalLanguage(data) {
  return request({
    url: '/iot/device/explain/eval/language/list',
    method: 'post',
    data
  })
}

